package com.dashu.device.tools;

public class CQMark {


    /****************************        重庆协议   *************************************/
    /**
     * 成功标识
     */
    public final static int SUCCESS = 0x0000;
    /**
     * 失败标识
     */
    public final static int FAIL = 0x0001;

    /**
     * 不存在
     */
    public final static int NOFOUND = 0x0002;

    /**
     * 用户存在
     */
    public final static int EXIST = 0x0003;


    /**
     * 获取图片失败
     */
    public final static int GET_PIC_FAIL = 0x0004;


    /**
     * 未检测到人脸
     */
    public final static int CHECK_FACE_FAIL = 0x0005;

    /**
     * 注册人脸目录没有找到
     */
    public final static int REG_FACE_FILE_NOFOUND = 0x0006;


    /**
     * 待检测人脸图片文件不存在
     */
    public final static int CHECK_FACE_FILE_NOFOUND = 0x0007;


    /**
     * 特征值提取失败
     */
    public final static int FEATURE_FAIL = 0x0008;


    /**
     * 没有人员信息
     */
    public final static int NO_PERSON = -119;


    /**
     * 白名单
     */
    public final static int WHITESTAT = 2;
    public final static String WHITENAME = "white";

    /**
     * 访客
     */
    public final static int CALLSTAT = 4;
    public final static String CALLNAME = "call";


    /**
     * 家长
     */
    public final static int PARENTSTAT = 5;
    public final static String PARENTNAME = "parent";


    /**
     * 教师
     */
    public final static int TEACHERSTAT = 6;
    public final static String TEACHERNAME = "teacher";

    /**
     * 黑名单
     */
    public final static int BLACKSTAT = 7;
    public final static String BLACKNAME = "stranger";


    /**
     * 学生
     */
    public final static int STUDENTSTAT = 8;
    public final static String STUDENTNAME = "student";


    public final static String GROUP_NAME = "WHITE_NAME";


    /**
     * 注册标识
     */
    public final static int REGIST = 0x0100;

    public final static int REGISTRESP = 0x8100;

    /**
     * 心跳标识
     */
    public final static int HEART = 0x0002;

    public final static int HEARTRESP = 0x8002;


    /**
     * 识别推送
     */
    public final static int COMPARED = 0x0102;

    public final static int COMPAREDRESP = 0x8001;


    /**
     * 远程开门
     */
//    public final static int REMOTEOPEN = 0x802D;
    public final static int REMOTEOPEN = 0x020D;

    public final static int REMOTEOPENRESP = 0x8001;


    /**
     * 查询用户组是否存在
     */
    public final static int QUERYUSERGROUP = 0x0203;

    /**
     * 查询用户组是否存在
     */
    public final static int ADDUSERGROUP = 0x0201;


    /**
     * 添加用户
     */
    public final static int ADDUSER = 0x0206;

    /**
     * 删除用户
     */
    public final static int DELUSER = 0x0207;

    /**
     * 删除用户
     */
    public final static int EXIST_USER = 0x0209;

    /**
     * 修改用户
     */
    public final static int UPDUSER = 0x0208;

    /**
     * 终端重启
     */
    public final static int RESTART = 0x0303;

    /**
     * 终端响应
     */
    public final static int DEVICERESP = 0x0001;

}
